<?php
include_once '../core/users.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Dołącz do ligi 1v1</title>
<link type="text/css" rel="stylesheet" href="style/styles.css">
</head>
<body>
	<div class="">
		<h1 align="center"> Aktualna lista uczestników </h1>
		
		<table border="1">
			<tr><th>Ranga</th><th>Nick</th></tr>
			<?php 
				$users = new Users(USERS);
				foreach($users->getUsers() as $user) {
					$rank = $user->getRank();
					$nickname = $user->getLogin();
					echo "<tr><td></td><td></td></tr>";
				}
				//TODO implement
				//$users-
			?>
		</table>
	</div>
</body>
</html>